HAL PKA state and error functions migration

This section provides information about the HAL PKA state and error functions migration.

HAL PKA get state

HAL1

HAL2

HAL_PKA_GetState(const PKA_HandleTypeDef *hpka);
HAL_PKA_GetState(const hal_pka_handle_t *hpka);

Related concept: Revised and optimized HAL state machine


HAL PKA get error

HAL1

HAL2

HAL_PKA_GetError(const PKA_HandleTypeDef *hpka);
HAL_PKA_GetLastErrorCodes(const hal_pka_handle_t *hpka);

Related concept: Revised and optimized HAL error management